package com.alipay.model.request;

/**
 * @author lwj
 * @create 2025-11-10-0:03
 *
 * 退款请求参数
 */
public class RefundRequest extends AlipayBaseRequest{
    /**
     * 退款金额(必填)
     */
    private String refundAmount;
    /**
     * 退款原因(选填)
     */
    private String refundReason;
    /**
     * 退款单号(必填)
     */
    private String outRequestNo;

    public RefundRequest() {}
    public RefundRequest(String refundAmount, String refundReason, String outRequestNo) {
        this.refundAmount = refundAmount;
        this.refundReason = refundReason;
        this.outRequestNo = outRequestNo;
    }
    public RefundRequest(String outTradeNo, String totalAmount, String subject, String body, String timeout, String refundAmount, String refundReason, String outRequestNo) {
        super(outTradeNo, totalAmount, subject, body, timeout);
        this.refundAmount = refundAmount;
        this.refundReason = refundReason;
        this.outRequestNo = outRequestNo;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public String getOutRequestNo() {
        return outRequestNo;
    }

    public void setOutRequestNo(String outRequestNo) {
        this.outRequestNo = outRequestNo;
    }
}